Add local metadata - #178
Conversation
|
|
Thank you! I would then suggest implementing the following things:
For
We could leave the package local metadata for now, and first try to solve the multiple package versions from different repositories in the current structure. |
Max13245
left a comment
There was a problem hiding this comment.
nice :)
Will you also update the docs with local metadata explanations?
Please don't forget to add rust docs and the clippy changes.
e99073f to
3c0ea0a
Compare
Max13245
left a comment
There was a problem hiding this comment.
It might also be nice to add timestamps for: register changed, package changed, package version changed. Although that's maybe not for this PR.
9e3bd8d to
82972f4
Compare
This PR implements a local metadata storage to prevent needing network access to load in some information about packages.
Things to still decide on:
<package>/.packit? An alternative could be a global directory in the Packit prefix, also preparing for future package specific local metadata.conflicts_withfield in the local metadata, or keep it on the package in the register? Moving it would facilitate a future expansion to conflicts between specific versions, but does require some refactors.homepageanddescriptionfields of apackage.tomlfile? Should we keep them in the register, or do we also want to include them into the local metadata?